/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Database;

import Domain.WaitingListEntry;
import java.util.ArrayList;

/**
 *
 * @author Min0
 */
public interface IFDBWaitingList {
    
    public void insertEntry(WaitingListEntry WLE);
    public void insertEntry(int ID, String ActivityID,String SportFacility, String Date, String Time, String CustomerID);
    public WaitingListEntry getEntry(int ID);
    public ArrayList<WaitingListEntry> getEntryList();
    public void updateEntry(int ID, String ActivityID, String CustomerID);
    public void deleteEntry(String ActivityID, String CustomerID);
    public int getMax();
    //methods which helps us to know what suppose to be ID
    //is activity is free it will be No.1 if not No.2 etc..
    //we need to consider everything.
    public int getID(String ActivityID, String SportFacility, String Date, String Time);
    public WaitingListEntry getCustomerEntry(String customerID);
}
